<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport"
        content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <link rel="stylesheet" type="text/css" href="../css/aui.2.0.css" />
</head>

<body>
    <header class="aui-bar aui-bar-nav" style="background-color: #03a9f4;position:fixed;" id="header">
        <a class="aui-pull-left aui-btn" tapmode onclick="closeWin();">
            <span class="aui-iconfont aui-icon-left"></span>
        </a>
        <div class="aui-title" id="title">
            收货入库
        </div>
    </header>
    <div class="aui-content aui-margin-b-15" style="margin-top:60px;">
        </br>
        </br>
        <!-- <div class="aui-btn aui-btn-info aui-btn-block" style="width:80%;margin-left:10%;font-size: 30px;font-weight: bold;" onclick="goPage('0')">录入不合格数</div> -->
        </br>
        <div class="aui-btn aui-btn-info aui-btn-block"
            style="width:80%;margin-left:10%;font-size: 30px;font-weight: bold;" onclick="goPage('1')">送检单收货</div>
        </br>
        <div class="aui-btn aui-btn-info aui-btn-block"
            style="width:80%;margin-left:10%;font-size: 30px;font-weight: bold;" onclick="goPage('2')">发货单收货</div>
        </br>
        <div class="aui-btn aui-btn-info aui-btn-block"
            style="width:80%;margin-left:10%;font-size: 30px;font-weight: bold;" onclick="goPage('3')">按箱收货</div>
        </br>
        <!-- <div class="aui-btn aui-btn-info aui-btn-block"
            style="width:80%;margin-left:10%;font-size: 30px;font-weight: bold;" onclick="goPage('4')">按托收货</div> -->
        </br>

    </div>
</body>
<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript" src="../script/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="../script/public.js"></script>
<script type="text/javascript">
    //跳转页面
    function goPage(flag) {
        var name = "";
        //录入不合格
        if (flag == "0") {

            name = "uwmYqgyReceipt_badQty";

            //送检单收货
        } else if (flag == "1") {
            
            name = "uwmYqgyReceipt_inspect";

            //一键收货
        }else if (flag == "2") {

            name = "uwmYqgyReceipt_one";

            //按箱收货
        } else if (flag == "3") {

            name = "uwmYqgyReceipt_box";

            //按托收货
        } else if (flag == "4") {
            
            //name = "uwmReceipt_Tray";
			name = "uwmReceipt_TrayNew";
        } 

        //打开页面
        api.openWin({
            name: name,
            url: name + '.html',
        });
    }

    //订单返回按钮
    function closeWin() {
        api.closeWin({});
    }
</script>

</html>